#ifndef TILE_H_INCLUDED
#define TILE_H_INCLUDED
#include <iostream>
#include <SFML/Graphics.hpp>
#include <SFML/System.hpp>
#include <SFML/Window.hpp>

class ImgMgr;
class Level;
class Player;

class Tile
{
public:
	Tile();
	virtual void init(const sf::Vector2f position, ImgMgr *imageManager, Level *level);
	virtual bool block() const;
	virtual void tick(Player *player, Level *level);
	virtual void render(sf::RenderWindow *app);
	int getShadow() const;
	std::string getName() const;
	sf::Vector2f getPosition() const;
	sf::Sprite& getSprite();


protected:
	sf::Sprite m_skin;
	std::string m_name;
	sf::RectangleShape m_shadow;
	int m_alphaShadow;
};




#endif /* TILE_H_ */
